package circle

import "math"

type circle struct {
	radius float64
}

func NewCircle(r float64) circle {
	return circle{r}
}

func (c *circle) Area() float64 {
	return math.Pi * c.radius * c.radius
}

func (c *circle) GetRadius() float64 {
	return c.radius
}
